package com.stars.common.base;

/**
 * @author : alex
 * @version ：1.0.0
 * @Date : create by 2018/2/4 18:07
 * @description ：请求码定义
 * @note 注意事项
 */
public class BaseCode {
    /**参数校验错误*/
    public final static String VLIDATE_PARM = "999";
    /**系统异常*/
    public final static String SYSTEM_ERROR = "1000";
    /** 无权访问*/
    public final static String NOT_PERMISSION = "1001";
    /**请求成功:000*/
    public final static String SUCCESS = "000";
    /**用户已存在:001*/
    public final static String USER_EXISTED = "001";
    /**推荐关系已经存在*/
    public final static String REC_EXISTED = "002";
    /**推荐用户不存在*/
    public final static String REC_NOT_EXISTED = "003";
    /**token不存在或者无效*/
    public final static String TOKEN_NOT_EXISTED = "004";
    /**用户不存在或者无效*/
    public final static String USER_NOT_EXISTED = "005";
    /**更新类型错误*/
    public final static String UPDATE_TYPE_ERROR = "006";
    /**发送短信失败*/
    public final static String SEND_SMS_ERROR = "007";
    /**短信验证码错误*/
    public final static String SEND_SMS_NOT_EXISTED = "008";
    /**发送短信验证码太过频繁*/
    public final static String SEND_SMS_BUSY = "009";
    /**用户手机号已经注册*/
    public final static String USER_PHONE_EXISTED = "010";
    /** 参数错误*/
    public final static String NOT_EXISTED = "011";
    /** 用户地址不存在*/
    public final static String ADDRESS_NOT_EXISTED = "012";
    /** 商品类型不存在*/
    public final static String SHOP_NOT_EXISTED = "013";
    /** 订单不存在*/
    public final static String ORDER_NOT_EXISTED = "014";
    /** 订单不存在*/
    public final static String COMMODITY_NOT_EXISTED = "015";
    /** 支付失败*/
    public final static String PAY_ERROR = "016";
    /**暂存*/
    public final static Integer TEMP_SAVE = 1;
    /**已提交*/
    public final static Integer SAVE = 2;

}
